package com.hnas.eCard.service;

import com.hnas.eCard.orm.EntityCardOrderDetail;
import com.hnas.eCard.service.dto.DTOEntityCardOrderDetail;

public interface EntityCardOrderDetailService {
	/**
	 * 添加/修改售卡订单详情记录
	 * @Title: saveOrUpdate  
	 * @Description:  
	 * @param vo
	 * @return
	 * @throws
	 */
	EntityCardOrderDetail saveOrUpdate(DTOEntityCardOrderDetail dto);
	/**
	 * 根据订单编号查询售卡订单详情记录
	 * @Title: findByOrderNo  
	 * @Description:  
	 * @param orderNo
	 * @return
	 * @throws
	 */
	EntityCardOrderDetail findByOrderNo(String orderNo);
	/**
	 * 根据订单编号查询售卡订单详情记录
	 * @Title: findByOrderNo  
	 * @Description:  
	 * @param orderNo
	 * @return
	 * @throws
	 */
	DTOEntityCardOrderDetail findDTOByOrderNo(String orderNo);
	boolean confirmConsume(String accId, String orderNo, String mrchId, String termNo, String currentDateStr);
}
